{extend name="base/base" /}
{block name="title"}技术管理{/block}
{block name="content"}

<section class="Hui-article-box">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 技术管理 <span
                class="c-gray en">&gt;</span> 添加新技术 <a class="btn btn-success radius r"
                                                         style="line-height:1.6em;margin-top:3px"
                                                         href="javascript:location.replace(location.href);"
                                                         title="刷新"><i
                    class="Hui-iconfont">&#xe68f;</i></a></nav>
    <div class="Hui-article">
        <article class="cl pd-40">
            <div class="page-container">
                <form action="/admin/jishu" method="post" class="form form-horizontal" id="form-article-add">
                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>所属分类：</label>
                        <div class="formControls col-xs-8 col-sm-9"> <span class="select-box">
                            <select name="pid" class="select">
                                {volist name="jishuCates" id="jishuCate"}
                                <option value="{$jishuCate.id}"> {$jishuCate.title} </option>
                                {/volist}
                            </select></span>
                        </div>
                    </div>

                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>技术标题：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" value="" placeholder="技术标题" id="" name="title">
                        </div>
                    </div>


                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"> 技术作者：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" value="" placeholder="技术作者" id="" name="auth">
                        </div>
                    </div>


                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2"> 技术来源：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <input type="text" class="input-text" value="" placeholder="技术来源" id="" name="dest">
                        </div>
                    </div>


                    <div class="row cl">
                        <label class="form-label col-xs-4 col-sm-2">详细内容：</label>
                        <div class="formControls col-xs-8 col-sm-9">
                            <?php
                            echo '<script name="content" id="editor" type="text/plain" style="width:100%;height:400px;"></script>';
                            ?>
                        </div>
                    </div>

                    <div class="row cl">
                        <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
                            <button class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i>
                                保存并提交
                            </button>
                            <button onClick="history.back();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
                        </div>
                    </div>
                </form>
            </div>
        </article>
    </div>
</section>
{/block}

<!--请在下方写此页面业务相关的脚本-->
{block name="js"}
<script type="text/javascript" src="/static/admin/h-ui/lib/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="/static/admin/h-ui/lib/ueditor/1.4.3/ueditor.all.min.js"></script>
<script type="text/javascript" src="/static/admin/h-ui/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script>
    //富文本
    $(function () {
        var ue = UE.getEditor('editor');
    });
</script>

{/block}
